package coderead.maven.bean;

import lombok.Data;

import java.util.Date;
import java.util.concurrent.atomic.AtomicInteger;

@Data
public class ArtifactVersion {
    private Integer id;

    private String artifact;

    private String version;

    private Date lastModify;

    private Integer count;

    private AtomicInteger incrementCount = new AtomicInteger(0);

    private Date dateLastModify;


    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

}
